package com.ht.pms.ui.controller.dataImport;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author:喻尊龙
 * @date: 2018/4/19
 */

@Controller
@RequestMapping("/dataImport")
public class DataImportController {

    @RequestMapping("/list")
    public String getList(){
        return "/dataImport/dataImportManagement";
    }

    @RequestMapping("/info")
    public String getInfo(ModelMap map, @RequestParam("templateCode") String templateCode){
        map.addAttribute("templateCode",templateCode);
        return "/dataImport/dataInfo";
    }

    @RequestMapping("/importLog")
    public String importLog(){
        return "/dataImport/dataInfo";
    }
}
